package school;

import java.util.Set;

public interface OptionDAOInterface {
	public Set<Option> getOptionList();
	public Set<String> getLocations();
	// recherche par chaque condition
	public Set<Option> getListByCourseCode(String code);
	public Set<Option> getListByDate(String date);
	public Set<Option> getListByLocation(String loc);
	// recherche par les conditions
	public Set<Option> getListBySearch(String keyWord, String dateStart, String loc);
	public Set<Option> getListCoursesRegistered(int[] sessionIds);
	
	public Set<Option> getSessionsByClient(int clientId);
	public void create(Option option);	
	public void update(Option option);
	public void delete(Option option);
	public void deleteCourse(String code);
	public boolean sessionExistence(int clientId, int sessionId);
	public void addSessionToClient(int clientId, int sessionId);
	
}
